package com.pn.warehouse.mapper;

import com.pn.warehouse.entity.Auth;

import java.util.List;

public interface AuthMapper {

    //根据useId查询用户权限下的所有菜单
    public List<Auth> findAuthByID(Integer userId);

    //查询所有的权限
    public List<Auth> findAllAuth();

}
